package com.gee.spring.cloud.feign.flow.execute.nextwork;


import com.gee.spring.cloud.feign.flow.result.ExecuteState;

/**
 * desc:
 *
 * @author gee
 * @since 2021-03-30 13:57:45
 */
public class SimpleCondition<T> implements Condition<T> {
    @Override
    public boolean determine(int executeState, T o) {
        return executeState == ExecuteState.SUCCESSFUL.getCode();
    }
}
